package org.lc.cmd.connect.impl;

import lombok.RequiredArgsConstructor;
import org.lc.cmd.CmdRequest;
import org.lc.cmd.CmdResponse;
import org.lc.cmd.connect.ServerContext;
import org.lc.cmd.connect.ServerRequest;
import org.lc.cmd.connect.ServerResponse;

@RequiredArgsConstructor
public class SimpleServerContext implements ServerContext {
    final ServerRequest request;

    final ServerResponse response;

    @Override
    public CmdRequest request() {
        return request;
    }

    @Override
    public CmdResponse response() {
        return response;
    }
}
